home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_5740.txt < prev    next >
Text File  |  1994-03-01  |  588b  |  15 lines

  1. 5 ONERRORGOTO900
  2. 20 MODE8:DIM:a=0:b=0:c=0:d=0:h=0:c$=CHR$(5)
  3. 30 CLS:PRINT"h(ab+cd+û(abcd))/3 a:b:c:d:edge";
  4. 40 s$="a":z=a:GOSUB500:a=z
  5. 41 s$="b":z=b:GOSUB500:b=z
  6. 42 s$="c":z=c:GOSUB500:c=z
  7. 43 s$="d":z=d:GOSUB500:d=z
  8. 44 CLS:PRINT"h(ab+cd+û(abcd))/3   h:height";
  9. 45 s$="h":z=h:GOSUB500:h=z
  10. 50 w=a*b*c*d:LOCATE0,1:PRINTc$;"Volume =";h*(a*b+c*d+SQRw)/3;:z$=INPUT$(1,@):GOTO30
  11. 500 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@42;z:LOCATE0,0:IFz<0 THEN500 ELSERETURN
  12. 900 IFERR=1 THENCLS:ONERRORGOTO0
  13. 910 IFERL=500 THENRESUME500
  14. 930 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME30
  15.